import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Connection } from 'typeorm';
import { DocsModule } from './docs/docs.module';
import { ProjectsModule } from './projects/module';
import { UserModule } from './user/module';

// 引入模块
@Module({
	imports: [
		DocsModule,
		ProjectsModule,
		UserModule,
		TypeOrmModule.forRoot()
	]
})
export class AppModule {
	constructor(private readonly connection: Connection) { }
}
